package work.xiaohong.mybatisplus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import work.xiaohong.mybatisplus.vo.SUserDeptVo;
import work.xiaohong.mybatisplus.entity.SUser;

import java.util.List;

/**
 * 用户表 服务类
 * @author xiaohong
 * @since 2021-10-22 10:10:22
 */
public interface ISUserService extends IService<SUser> {

    /**
     * 连表查询SUser和Dept
     * @return
     */
    List<SUserDeptVo> findAllUserAndDept();

}
